<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="qf.util.*,qf.util.vo.*,qf.util.combo.*,qf.util.mapping.*,qf.util.param.*" %>
<%
   try
    {
       String sValue1="......";
       String sValue2="......";
       DBParam dbp=new DBParam();
	   dbp.setDbName(request.getParameter("dbName").toString());
	   dbp.setTableName(request.getParameter("tableName").toString());
	   sValue1=new Convert().doWorkByEntityBean(dbp,request.getParameter("author").toString(),request.getParameter("package").toString());
	   sValue2=new Convert().doWorkByMyBatisXML(dbp,request.getParameter("author").toString(),request.getParameter("package").toString());
      out.println("<body>");
      out.println("BEAN CODE<br/>");
      out.println("<textarea name='iframe1' id='iframe1' rows='55' cols='80'>"+sValue1+"</textarea><br/><br/>");
      out.println("Mybatis XML<br/>");
      out.println("<textarea name='iframe2' id='iframe2' rows='55' cols='80'>"+sValue2+"</textarea><br/><br/>");
      out.println("</body>");
    }
catch(Exception e)
  {
    e.printStackTrace();
   }
%>